package com.liaoyifan.core.model;

import com.mybatisflex.core.BaseMapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

@SuppressWarnings("unused")
public class CoreServiceImpl<T, M extends BaseMapper<T>, S, C extends CoreConverter<S, T>>
        extends ServiceImpl<M, T> implements CoreService<T, C> {

    @Autowired protected C converter;

    @Override
    public C getConverter() {
        return converter;
    }
}
